package com.mz.ozy.mvp.model;

import android.content.Context;

import com.mz.ozy.constants.Constants;
import com.mz.ozy.net.RetrofitUtils;
import com.mz.ozy.utils.JsonUtils;

import java.util.HashMap;
import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;

/**
 * Created by administrator on 2018/12/3.
 */
public class ReportModel {

    public Observable<ResponseBody> reportFriend(Context context, String uuid, String reasons) {
        Map<String, String> map = new HashMap<>();
        map.put("did", uuid);
        map.put("content", reasons);
        return RetrofitUtils.getApiService(context).post(Constants.TransCode.TransCode10156, JsonUtils.requestJsonDate(map), Constants.tokenId);
    }
}


